The file-selection dialog allows you to navigate to the directory that houses the LScript that you wish to execute. Once you select a script, LScript will compile that script and will, barring any errors during the compile phase, immediately begin script execution.
The LScript Scripting Plugin is also designed to act as a plugin server, allowing scripts to be added directly to your Custom menu. Once added, selecting an LScript entry will cause the LScript Scripting Plugin to be executed with the selected script. To add an LScript to your Custom menu, you can either use the built-in command Configure List under the Custom menu, or you can simply execute the example LScript listadd.ls included on your distribution diskette.
Please keep in mind that when you add server-based entries to the Custom menu in this fashion, you must save them out to a file. LightWave Modeler will automatically re-load your custom macros each time it is started, provided you have saved them. Refer to the LightWave 3D Modeler manual for more information on this feature.
number |
a numeric data type that includes a fractional value, optionally possessing a sign indicator and exponential specifier. |
integer |
a numeric data type that is written as a whole number (i.e., no fractional value), optionally possessing a sign indicator |
string |
a data type that consists of a sequence of ASCII characters, enclosed in double quote marks (⌠) |
vector |
a data type consisting of a group of three numbers, surrounded by angle brackets (<>) and separated by commas (i.e., <15, 34, 5.34>) |
point id |
a point identifier |
polygon id |
a polygon identifier |
... |
a sequence of the data types listed above, separate by commas, or multiples of a single data type when preceded by that data type |
void |
having no return value; no parameters accepted |
type[#] |
an array reference of '#' elements each of type data type (a missing '#' indicates a variable size) |
[ ] |
an optional argument |
<data type> |
a single instance of any of the above data types |
status |
error status of command (unless the autoerror pragma is used, in which case errors will be caught and execution terminated) |
boolean |
TRUE/true/!0 or FALSE/false/0 |